Summary
Creates a link to a Content Studio document to download where the URL of that document will hidden for the visitor.
Category | AS Security |
Version | 1.0 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | C# Visual Basic.NET |
Output content type | inline |
When to use
This component is typically used when you do not want do display (in the link) the physical URL of the file to download.
Programming interface
Parameters
- EPT field for text
- The name of an EPT field that contains the text of the link. Available in presentation templates only.
- Text
- A static text of the link, not used if an EPT field was specified and available in any document.
- EPT field for document to download
- An EPT fieldname that contains the id of the file to download. Available in presentation templates only.
- Document to download
- A static id of the file to download, not used if an EPT field was specified and available in any document.
- Component identifier
- Change this if you have more than one static link on the same page.
- EPT field for a link image
- An optional EPT fieldname that specifies an image used as a part of the link. Available in presentation templates only.
- Link image
- Optional, a static image in the link, not used if an EPT field was specified and available in any document.
- EPT field for file alias
- An optional EPT fieldname that indicates a new name in the "Save As" dialog box. Available in presentation templates only.
- Alias for the file
- or static text that indicates a new name in the "Save As" dialog box, not used if an EPT field was specified and available in any document.
- EPT field for link title
- Optional, an EPT fieldname that contains the title of the link. Available in presentation templates only.
- Link title
- Optional, a static title, not used if an EPT field was specified and available in any document.
- EPT field for link target
- Optional, the name of an EPT field that stores the target for link. Available in presentation templates only.
- Link target
- or static target, not used if an EPT field was specified and available in any document.
- EPT field for CSS class
- Optional, an EPT fieldname for a CSS class that will apply formatting to the link. Available in presentation templates only.
- CSS class
- Optional, a static class, not used if an EPT field was specified and available in any document.
- Chunk size
- Chunk size in bytes. Set to a low number for low bandwidth, if you are using high bandwidth you can increase this value for better performance. The default value is 2048 bytes
- Time out
- Server script timeout in seconds. Increase this value on slow connections and large files. The default value is 2200 seconds.
Remarks